<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/includePage/commonInclude.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>文章分类</title>
		<%@ include file="/common/includePage/commonHeader.jsp"%>
		<link type="text/css" rel="stylesheet" href="<%=contextPath%>/css/gotcss.css" />
	</head>
	<body>
		<a href="<%=contextPath%>/category/CategoryAction.categoryInfo.action?categoryForm.id=${articleForm.categoryId}"><font color="000000">栏目信息</font>
		</a>
		<a href="<%=contextPath%>/ipp/admin/articleAdd.jsp?categoryId=${articleForm.categoryId}"><font color="000000">新增</font>
		</a>
		<table class="tablecss" border="1" cellpadding="0" cellspacing="0" width="100%">
			<tr bgcolor="#D2EEF3">
				<td>
					title
				</td>
				<td>
					date
				</td>
				<td>
					operate
				</td>
			</tr>
			<c:forEach items="${articleForm.articles}" var="article">
				<tr>
					<td>
						<c:out value="${article.title}" />
					</td>
					<td>
						<c:out value="${article.createDate}" />
					</td>
					<td>
						<a href="<%=contextPath%>/ipp/ArticleAction.getArticle.action?articleForm.id=<c:out value="${article.PK.id}" />"><font
							color="000000">查看</font> </a> &nbsp;|&nbsp;
						<a href="<%=contextPath%>/ipp/ArticleAction.editArticle.action?articleForm.id=<c:out value="${article.PK.id}" />"><font
							color="000000">编辑</font> </a> &nbsp;|&nbsp;
						<a href="<%=contextPath%>/ipp/ArticleAction.delArticle.action?articleForm.id=<c:out value="${article.PK.id}" />"><font
							color="000000">删除</font> </a>
					</td>
				</tr>
			</c:forEach>
		</table>
	</body>
</html>
